-- GENERATED SPELL FOR [Greyheart Technician] --


function spell0_21263(pUnit, Event) --@Hamstring,n/a--
pUnit:FullCastSpellOnTarget(38995,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_21263', 10290, 1)
end

function Sorts_21263(pUnit, Event)
local choix_sorts_21263 = math.random(0, 0)
if choix_sorts_21263 == 0 then
pUnit:RegisterEvent('spell0_21263', 1, 1)
end
end

function mob21263_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_21263', math.random(1500, 3000), 1)
end

function mob21263_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21263_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21263_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(21263, 1, 'mob21263_Action')
RegisterUnitEvent(21263, 2, 'mob21263_Leave')
RegisterUnitEvent(21263, 3, 'mob21263_Kill')
RegisterUnitEvent(21263, 4, 'mob21263_Die')
